package case1.factory;

import case1.Quackable;

/**
 * description:
 *
 * @author Yuanml on 2020/10/30 11:55
 */
public abstract class AbstractDuckFactory {
    /**
     * description:
     * 创建Mallard Duck
     * @return 返回Mallard Duck
     * @author Yuanml
     * @date 2020/10/30 上午11:57
     **/
    public abstract Quackable createMallardDuck();
    /**
     * description:
     * 创建Mallard Duck
     * @return 返回Redhead Duck
     * @author Yuanml
     * @date 2020/10/30 上午11:57
     **/
    public abstract Quackable createRedheadDuck();
    /**
     * description:
     * 创建DuckCall
     * @return 返回DuckCall
     * @author Yuanml
     * @date 2020/10/30 上午11:57
     **/
    public abstract Quackable createDuckCall();
    /**
     * description:
     * 创建RubberDuck
     * @return 返回RubberDuck
     * @author Yuanml
     * @date 2020/10/30 上午11:57
     **/
    public abstract Quackable createRubberDuck();
}
